package com.cowin.inf.service;

import com.cowin.inf.model.KyDeviceStateInfo;
import com.cowin.inf.model.KyLineStateInfo;
import com.cowin.base.Service;
import com.cowin.inf.model.vo.KyLineStateInfoVo;

import java.util.List;


/**
 * Created by  on 2019/09/19.
 *
 * @author CodeGenerator
 */
public interface KyLineStateInfoService extends Service<KyLineStateInfo> {
    /**
     * 功能描述: 产线停线记录<br>
     *
     * @param kyLineStateInfo 映射实体类
     * @return:
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2019/11/19 10:11
     */
    List<KyLineStateInfoVo> filter(KyLineStateInfo kyLineStateInfo);

    /**
     * 功能描述: 获取产线 八点到八点的正常时间<br>
     *
     * @param workShopNo 车间
     * @param lineNo 产线
     * @param type 类型 今天八点 -现在 昨天八点 到现在
     * @param status 状态
     * @return:
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2020/1/13 14:11
     */
    List<KyLineStateInfo> getLine8to8AutoTime(String workShopNo, String lineNo, Integer type, String status);
}
